using System;

namespace EWS
{
   class Bed
    {
        private measureData myMeasureData;
        private String doctor, nurse;
        // default
        private warningColor warningStep = warningColor.red;

       // damit kein public default konstruktor generiert wird
       private Bed(){}


        public Bed(measureData aMeasureData, String doctor, String nurse)
        {
            this.myMeasureData = aMeasureData; // inclusive bettnummer
            this.doctor = doctor;
            this.nurse = nurse;
            warningStep = EWS.WarningStep.generateWarning(aMeasureData);
        }

        public warningColor WarningStep
        {
            get { return warningStep; }
        }

        public measureData MeasureData
        {
            get { return myMeasureData; }
        }

        public String Doctor
        {
            get { return doctor; }
        }

        public String Nurse
        {
            get { return nurse; }
        }

        public int BedNumber
        {
            get { return myMeasureData.BedNumber; }
        }
    }
}